<?php

declare (strict_types=1);

namespace App\Model\GuildManage;

use App\Model\Guild\GuildBase;

/**
 * @property int $id
 * @property int $user_id
 * @property string $withdraw_rmb
 * @property string $reality_rmb
 * @property string $service_charge
 * @property int $withdraw_account_id
 * @property string $withdraw_account
 * @property string $withdraw_real_name
 * @property string $withdraw_id_card
 * @property int $withdraw_type
 * @property int $withdraw_account_type
 * @property int $status
 * @property string $yzh_order_id
 * @property string $yzh_detail
 * @property string $withdraw_way
 * @property int $account_type
 * @property string $out_trans_id
 * @property int $subject
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 */
class GuildWithdrawal extends GuildBase
{
    //待审核
    const STATUS_ING = 0;

    //审核通过
    const STATUS_OK = 1;

    //审核不通过
    const STATUS_FAIL = 2;

    //云账户提现异常
    const STATUS_YZH_ERR = 3;

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'guild_withdrawal';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'user_id' => 'integer', 'withdraw_type' => 'integer', 'status' => 'integer', 'account_type' => 'integer', 'subject' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}